//package nat;
//
//import java.io.IOException;
//import java.io.OutputStream;
//import java.io.OutputStreamWriter;
//import java.io.PrintWriter;
//import java.net.Socket;
//import java.util.Scanner;
//
///**
// * @Author: Miyako
// * @Date: 2024-07-18-16:20
// * @Description: 客户端
// */
//public class NatClient {
//    public static void main(String[] args) throws IOException {
//        Scanner sc = new Scanner(System.in);
//        Socket soc = new Socket("127.0.0.1",8888);
//        System.out.println("客户端启动"+soc);
//       try(PrintWriter out1 = new PrintWriter(new OutputStreamWriter(soc.getOutputStream()),true);) {
//           while (true) {
//               System.out.print("键入信息>");
//               out1.println(sc.next());
//           }
//       }catch (IOException e){
//
//       }
//        //OutputStream out = soc.getOutputStream();
//        }
//    }
//
//
